﻿<!--#include file="utf-8.asp"-->
<!--#include file="conn.asp"-->
<% 
id=request("id") 
sql="select * from news where id="&id 
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,3
rs("title")=request.form("title")
rs("etitle")=request.form("etitle")
rs("body")=request.form("body")
rs("ebody")=request.form("ebody")
rs("ssfl")=request.form("ssfl")
rs("zz")=request.form("zz")
rs("ly")=request.form("ly")
rs("description2")=request.form("description2")
rs("edescription2")=request.form("edescription2")
rs("keyword")=request.form("keyword")
rs("ekeyword")=request.form("ekeyword") 
rs.update 
rs.close 
response.write "<script>alert('新闻修改成功！');window.location.href='admin_news.asp';</script>" 
%> 
